package net.neptech.feign;

import net.neptech.dto.order.OrderDTO;
import net.neptech.vm.ResponseResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient("service-order")
public interface OrderFeignClient {

    @PostMapping("/order/create")
    ResponseResult createOrder(@RequestBody OrderDTO orderDTO) ;

}
